package com.sunreal.paygateway.service;

import java.util.Map;

import com.sunreal.paygateway.dao.model.PayOrder;
import com.sunreal.paygateway.sys.exception.BusinessException;

/**
 * 功能描述：支付宝下单Service接口
 *
 * @Author 彭广
 * @Date 2019/4/18
 */
public interface IPayChannel4AliService {
    /**
     * 蚂蚁金服（支付宝）PC端支付下单
     * @param payOrder  订单信息
     * @return          MAP中只有支付宝返回的可以自动提交的form表单，用于跳转到支付宝支付页面
     * @throws BusinessException
     */
    Map<String, Object> doAliPayReq(PayOrder payOrder) throws BusinessException;
}
